import Layout from '@/layout/index.vue'

const asyncRoutes = [
  {
    path: '/Insurance',
    name: 'Insurance',
    component: Layout,
    meta: {
      title: '场地责任险',
      icon: 'nav-icon icon-device',
      resourceId: 'route:/web/station-insurance/',
    },
    children: [
      {
        path: '/Insurance/InsuranceSetList',
        name: 'InsuranceSetList',
        component: () => import('@/views/Insurance/InsuranceSetList.vue'),
        meta: {
          title: '场地责任险',
          resourceId: 'route:/web/station-insurance/manager/',
          key: (route) => `${route.query.id}`,
        },
      },
    ],
  },
]
export default asyncRoutes
